Add tests for API action=edit&section=new

Change-Id: I5fe8fc8297ce29ffafd69f62f427dc9353c090e6
Merge "Add tests for API action=edit&section=new"