methods for test purposes
modified writer tests
Listener tests