Test replacing spaces with TAB