TST : added test to exercise transform kwarg to `add_label_near`

This exercises with input in both display and data units.