Added a test for mixed-bound listeners and flag()