Add tests for pattern name splices.