improve testall to use a loop :)

sometimes I'm lazy like that