def get_test_mode_user(prefix='', rconn=None):
    """Return user_id of test mode, or None if not found"""
    if rconn is None:
        return
    try:
        test_user_id = int(rconn.get(prefix+'test_mode').decode('utf-8'))
    except:
        return
    return test_user_id