added tests for simple sequence recognition