optimize: pre-allocate the space of the resty.core.base module table. also added a test file for it.