Add functional test for setup_build and teardown_build

Also added logic to verify contents of the build project directory.