app... tests unit updated

routes.spec.js renamed to states.spec.js