test data are retrieved in the order they were inserted
add some code docs