add rank to test table in db

add rank to test so that the order of tests
as conducted in the field are presented to the user
properly for processing: implementation also makes use of
cenozo has_rank .