Update tests

Require phpunit for --dev, use the vendor bin, remove the composer.lock
file.
Also composer update before running tests.