remove extra test parameters from wam function