test: use PageSize

fix jit_test to use PageSize instead of hardcoded value of 4096.