Added tests for amendment processing