test param parsing