Removed deprecated unit tests, updated phpunit to 4.1