Fixing tests with composer