Add test for partial AMI version matching.