Add test for determine_wants (advertise_refs True)

Add test to ensure that determine_wants return an empty
list when advertise_refs is True.