tests for user update