Prepare some more methods for the unit tests.