Preparing infrastructure for tests