Added unit tests to the build script