one test file per function

Suggested soundtrack for reviewing this pull request: Radiohead's _Everything in Its Right Place_.

It now has one!