tests: check dlerror is "no error" in no error case