More concise error message when adding tutorial

Also minor additions to test