sane default handling, more tests