Test that output argument is correct.