refactored prices display test for with params