cleanup users table
fix tests
first pack of tests
Merge pull request #22 from cloud-creations/add-tests

Add tests