Add the beginnings of a test suite.

So far, it tests only hashes_of_requirements() (and thus also requirements_path_and_line()).