fixed shipSpeed test statement

fixed shipSpeed test statement