Updated phpunit to 4.0 beta
Callbacks wheren't properly testing instance types