One phpUnit run is enough for Travis :-)
- Also fixed an undefined index issue in the mock client