Refactors contributor and user profile test