Fixed local tests