How do you make sure a test is fair?

When you are testing something, you need to make sure it is a fair test. To do this everything should be the same except the thing you are testing.