Fixed updating of composer during tests