Added acceptance test for ora_listener and fixed a bug