Test case extended to actually test if the output is what we expect.