Wrote test for persisting methods after being already persistent.
Making methods persistable even if object was persistent before.
Merge branch 'master-1.9' into matthias/database-explorer