Adding a test if the target is a List.