Thanks for reporting the issue! We think the issue is already solved and released upstream.
https://github.com/ElektraInitiative/libelektra/issues/1247 As workaround, you can simply set LD_LIBRARY_PATH to <builddirectory>/lib while running the tests. Best regards, Markus