Refactor tests
Basic test for missing store file and sync OK