remove deprecated arguments from unit tests