Add test_autocomplete_single() test

Signed-off-by: Slava Zanko <slavazanko@gmail.com>