fix and test versioning feature