fixup! Ticket #2957: broken autocompletion in mcedit
Added tests for coverage the bug

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