d/tests: fix the tests on i386
This merge request fixes the tests when running the tests from an x86_64 host system (cross-compiling situation)
This merge request fixes the tests when running the tests from an x86_64 host system (cross-compiling situation)