removed some useless code from tests
finer grained Composer requirements