Added test for creating on non-writable resource