Add unit test for localfilestorage
Stage 2 of #62