Create some unit tests for user persistence

Restructured tests solution (added subfolder) and added some unit tests
for user persistence.