Added unit test for virtual machine images.