fix tests support 10.8