Added util to get a handler from a name
Add test for invalid bearer token