Fix tests for user