Add more contet to test rule, add a test for process_amendments