listeners class tests