fix ordering in tests