chromeStorageApi unit tests update

I have updated chromeStorageApi unit test and moved windowMock to its own module.