Fix doc blocks
Add a simple database schema test
Add a framework for database tests