add test for pin rating