upgrading packages and reordering unit tests so they run faster