Removed the unnecessary tests.