manual readline tests

Also functionality for back word and forward word
also tiny/random change in repl: turned whitespace checking to left into its own function