Added test for data passing from trigger to listener