test refactored and generated code replaced
basket is now a factory instead of a service
injecting basket into main js