qunit tests for ydn-db