added tests for localforage persistence
Merge pull request #13 from naman34/dev

added tests for localforage persistence