fix SD tests