fix build issue with tests