update to include test parameter