corrected failing tests