chromeStorageApi unit tests refactored

I have refactored unit test for chromeStorageApi.