copied from https://github.com/corcel-api/cortex.t/tree/main/test_base

