fixed composer.json and test autoloader to work with 2.4