fix href return true for obj, add test