Tests and fixes for versioning support

issue #10