tests for sequences