Fix test for filesystem