add tests for version