set to test mode when running unit tests.
Add project initialization to build script.