add unit test to confirm ranking
modify test 012 to be more explicit