What's the test for halogenoalkanes?
Add aqueous sodium hydroxide to the sample and heat
then add dilute nitric acid and then aqueous silver nitrate
a white ppt soluble in dilute ammonia indicates that a chloroalkane was present
a cream ppt soluble in concentrated ammonia indicates that bromoalkane was present
a yellow ppt insoluble in ammonia indicates that an iodoalkane was present