remove some redundant stuff from the api test#