base loop test