A new or overhauled engines thrust on a manufacturers test bed is measured against a load cell or thrust meter in pounds or kg of thrust at given rpm, tgt,fuel flow and epr. When the certified engine is installed in the airframe and ground run, after taking into account local atmosheric conditions,intake and jet pipe losses, the max epr, or thrust, and tgt and fuel flows can be cross checked. In a test flight, given the correction factors for altitude and speed etc, against the known parameters of epr, tgt, rpm and fuel flow, the engine can be seen to be giving required performance. If the the engine parameters are correct but aircraft performance ie speed and rate of climb are low then suspect the airplane's weight and/or drag (flap, doors, panels etc poor fit) as possible culprits. Its not fair to expect an engine to push a dirty heavy airplane up that big hill on a hot day is it?