Preparing unit-tests