Removing unnecessary tests.