Fix filesystem tests