petites corrections suite aux tests (nosetest)