Fix constness warning.
Improve version string; adapt test.