fixed console test test_helper and rails test