updated tests to work with current redis version which uses different error codes