Removes unnecessary tests.
Cleanup.