added some tests for users controller