Add some tests for the user module