adding tests for persisting keys in indeedDB