fixed loop bounds in test