having the basic functions for virtual memory test