loop test passes