Check for region address bounds in dynmem_acc()
Added static test_ap_user()