added addContextListeners tests
added addContextListeners tests