Fixing listener test