Removed redundant test code.