Removed tests from deprecated code.