Fix tests
Fix functional tests for user module