Fix unit test app env and update composer