Changed dependencies to stable by default for the testsuite

This also update PHPUnit to the current version rather than the old 3.7.
Fixed wrong assertion