Removed unnecessary testing code