Added tests for the patch request and made the gravatar open in a new tab