Make test bootstrap more portable and composer aware