Add error listener to test
Use quevent