Enable testing without redis via python mock