nitpicking empty lines

trying to make import order appear like er's master branch
+more empty line removal
removing more empty lines
test improvement: misspellings for non-ttys

Here we see the "assert False" actually doing its job. Modify this to assert that term.is_a_tty is False, then, which makes it ok -- again: misspellings for non-ttys are not detected.