Change composer install to global install and add test