add tests for creation with invalid version