add composer test command

https://getcomposer.org/doc/articles/scripts.md#writing-custom-commands