testes rails rest