added user unit tests