Swaps put and post requests
Returns user dictionary rather than the actual user
Adds role to testing admin user
Adds user to db session before commit
Refactors test to check for admin user