use rails 4 compatible routes in tests