Add test for ListTargets.