Added regression tests for issue https://issues.infn.it:8443/browse/VOMS-256