Testing the opacity and equation of state of LTE and non-LTE model atmospheres with OPAL and OP data for early-type stars