Remove unnecessary assert in ldap.search return code test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>