Make test class ListenerInvokingAnswer more reusable
Simplify ResponseListener implementation, and improve handling of ExecutionException