fixes #445 This PR was partially fixed by docker/libcompose#450, which now gives consistent build context, also it modifies the function getAbsBuildContext to create accurate build context, Unit test are being modified according to new structure.
Functional Test
Requirements
Install jq - commandline JSON processor with minimum version of 1.5
Running tests
Test running ./cmd/tests.sh