doign tests in vmappl.c