Fixed edit_test