Adds gradient test to qc processor and stubs for local range