Bugfix for composer

all tests faild through composer changes.