fixed bug with saving content programmatically and updated tests