Fixed a few issues concerning the integration tests and an erroneous creation of a protection_S object.