added test to verify that markers are being set correctly when an event is consumed.