Added tests for the user_profile view's button visibility