Revert "Fixed exception type."

This reverts commit db7cc4b49a8727478059b560ec19b84cd5003540.
Revert "Corrected redis testing error"

This reverts commit f28e6b6fed3fdae14deadf0872df5305cd8e8d52.