fix tabs being used in place of tabs
move tests into sub-directory