Fix: add more tests on amendment parsing