test-chartopts: split into pieces; add another test
test-chartopts: add a few more tests
test-chartopts: delete extraneous white space