[fix] test refactoring rails 4 routes & misc