added User unit tests