fix sp tests