Refactor version property tests
Test that version value is empty if version is not set
Detect empty version id correctly
Merge pull request #2317 from opf/fix/17665_unassigned_version_has_no_empty_value

17665 Unassigned version has no empty value