Fixed repository tests for userToken