My go to function test is to load a single round in the mag, close the bolt and fire.
Doesn’t strip the round, probably a spring or mag issue
Doesn’t extract, look at the extractor or chamber
Extracts but doesn’t eject, ejector or carrier velocity issue
Doesn’t lock back, likely a gassing...