add test custom_routes_test
fixed test and generated profile controller