Tests for SingleWriterStatefulResource added.