Fix compiler warnings in the myldap test