Working on tests for nested sequences