Added UAuth unit tests and passed integration tests