test: added mmap_test

Also moved _TEST_KERNEL_ to after process context is set up