Test rework

Rework unit tests to minimize the number that depend on external assets. (Fixes an issue where failed functional tests prevent everything else from running)

With this code, everything passes on branch `gh-pages`, and all but 11 pass on `core`. fix swcarpentry/lesson-template#54
 
I didn't like very much of the duplication of this input (for the duplication see line 117).