fix res value in tests