test out of bounds