Updated composer dependency and fixed some unit tests