Add more detailed pattern tests.