checking that session end message is published