Made tests write to VFS Stream instead of actual filesystem.