Added Tests for persistency.