updating tests. fixing default parameters