close #64 the previous commit correctly fix the problem, added a functionnal test that should fail if the problem arises again