Preparation for unit testing