Removed redundant testing code.