has_loop stub w/ tests