test for prices method