Adjust plurals equation

Signed-off-by: Michal Čihař <michal@cihar.com>
Install phpunit using composer

The pear channel is now disabled so our test fail.

Signed-off-by: Michal Čihař <michal@cihar.com>