Add tests

Guarantees nobody will ever forget to call `syncdb`? Especially during the development when database schema might change often? :)