dockertest.version_unittest: Improve the version unittest

This pull request covers the `dockertest.version` unit testing. Also I found weird assert used in the `dockertest.version` which I fixed. @cevich, please verify that I understood it correctly.