Test scaffolding

Fixes #7.

Note to self: drink :coffee: before coding. This branch is based off of the `error-pages` branch, so it looks like there's more changes than there really are. Look at that PR first.