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