Update to phpunit 4.1

Fixes the issue on travis ci. It's unclear as to why the problem started
occuring.