Add a bunch of tests to cover auxiliary methods.