Preparing offline test.