preparation for unit tests