Add unit test for --content-type parameter.