add saving content with tests