Prepare test envitonment