adding test that pb stop event occurs after the last-pb-context-exiting event