unit tests
Merge pull request #67 from eprogramming/master

unit tests and TabAction improvement