fix STDOUT message tests.
* added test to use only major version