basic tests on attribute routing for API routes