Change crl to an option. Added XML output for crl test.