added a test for real world situations where the position may not be exactly in order