finish tests for #edit_ad