Test vmap application in various ways.