More pattern matching tests