refactored Bike class  and Bike test code