prepare for unit tests