Unit test added for userFetch