Adding test to ensure that willStop() and stopped() are called when a
module is unloaded - TRUNK-4134