TESTS: Add tests for ORWRITE