add test with empty seq
use named parameter for booleans