Update collection tests for phpunit 4