Does your cassette freewheel easily? If not, the bike would perform perfectly while pedaling but slow when you coast. Try lifting the rear wheel and spinning the wheel forward. Do the pedals turn when you do this?