Fixed testing scalate issue