snake case and camelize middlewares now have a key to convert parameter
update test after changing where to query in code