Add constant matching.
Add test case.