Some tests and fixes on users