More test setup.
Rename main.py to app.py
Set correct env if running nose tests.
Only print if in debug mode.
Use assert_eq for better test failure messagse
Add tests for db.py
Some documentation about writing/running tests.
Fix main.py references in readme.
Add User class with tests.