unit tests and TabAction improvement

* TabAction gets the result directly from aesh no more custom emulation.