update composer and implement new tests