Added testing for getPrice method