Added PricingServiceTest with fixtures.
Temporary fix for clearing entity manager
Improved clearing the entitymanager's state.