Move tests into separate module
use alloc's oom method.