added tests for version