fixed failed test - ensureIndex on db collection is required for unique indexes, otherwise tests fail