Added tests for persistence namespace.