sequence test
simplified impl