added demo database
moved tests, added globals to jshint