Added more tests for different combinations of VMs and array objects