Fixed tests for update and create user