Added tests for QC validation