fix junit failing tests