build error fix for the tests.