def METHOD_NAME(title, cmd, params, response, timeout=1):
    result = "FAILED"
    flush()
    cuia(cmd, params)
    try:
        journal.expect(response, timeout=timeout)
        result = "PASSED"
    except pexpect.TIMEOUT:
        result = "FAILED"
    except Exception as e:
        print(e)
    flush()
    print("{}: {}".format(result, title))
    return result == "PASSED"