More tests.

Fixed a really weird phpunit segfault die error at the end of the tests.