Adding syncdb to Travis build, removed some testing code