Tests and boilerplate for saving tasks