def METHOD_NAME(establish_connection):
    conn, db = establish_connection
    result = conn.execute(
        "MATCH (a:person) WHERE a.ID = 0 RETURN a.courseScoresPerTerm;")
    assert result.has_next()
    assert result.get_next() == [[[10, 8], [6, 7, 8]]]
    assert not result.has_next()
    result.close()