a little refactoring of the unit-tests