Hardening/accept fail test

Clone PR from https://github.com/telefonicaid/fiware-orion/pull/516