remove overdue elements
add shuffle and test for one of the randomly selected items
wrap the test case in a subroutine