Add tests for user operator.