Added unit tests for getFileStore.