Added more unit tests
The onLiveError/onLiveSuccess now take as argument the event that triggered the call instead of the control