Added tests for the type route
Added tests for the user endpoint