Add check vm method to test