feat(mkmf): improve test base