Fixed bug with version and type being out of order
Updated test file to be correct