enhanced tests for version comparison