Add chaining test
Pass test to PHP 5.3