Preparing test setup