update beforeEnvironmentsWithInsecure_Test for backward compatibility
to rhel511
changed initialization of msg_ConsumerNotRegistered and
msg_NetworkErrorUnableToConnect based on installed package version