Added some looping tests