Preapre for unit tests