created unit tests on user