Add two test cases for 'elemToSEG' function
Add test case that tests setting valids