General feedback: Pretty much all inline comments in this test should be placed as a third argument into the assertions instead, making test failures a lot clearer.