Add ranking test for prefix sentence matching