Tests for taskPersistence.
File persistence tests.