remove redundant real_of complex specialization + add as_logical test