added a sequence test for both even and odd