update tests for onOpenFileRequested create/write