Revert "Revert "Created some tests in UserTests.cs""

This reverts commit 5e5b78839113b8e98960414d1946865b8386501b.