tests and fixed composer.json