Added versions API with test