Tests: entity changed after form submit + fix