Is your feature request related to a problem? Please describe.
Current tests are too limited in terms of their syntactic coverages.
Describe the solution you'd like
Add property-based tests.
Describe alternatives you've considered
Cover all the cases by hand.