Added saving tests and methods for TaskManager