price computed from JSON
Refactor: Moved totalPrice code into a helper and added a spec