added tests for filesystem.scanSync method