Test of diagram option.