TAB on empty line causes crash; with test