fix failing tests due to assert methods