added test-case for writing into null relations