tests for amendment
improve register tests