Fix the issue Felix-697 Check the unicity of method flag field. Add the tests case provided by Loris in the test suite.