Add tests for resign.