test: add load/unload functions include file and use it

We don't need shared object extension in each test!