Refactored code - repitition in tests and Bikes class