adding tests and convert resource_pricing to south