minor: remove some mono compiler warnings in script regression tests