If the new drive does not show up when in the external enclosure, then there is something wrong with the drive. Send it back.
The F5 diagnostic will only have a failure on the optical drive if there is a disc in the drive. If there is nothing in it, it can't run a full test. I would still try uninstalling and then reinstalling it.