Updated diagnostics to only run on test fixtures