Fix requests tests