Why do you assert on the output here? Doesn't seem to add anything to the test and feels to be over-reaching.