fix build error tests