fix invalid composer.json
verify that composer.json is valid in unit tests