pressing <Esc+.> prints the last word of the last command to the command line
Added test for get last word