fix unit tests in build script