more tests and add arg-char option