Tests for StatefulResource added.