test: AddTest: test error state
redis: correctly cast GET results to int