fix test errors by changing parameters