Tests edit type