Fixed all tests in test.TestBuild