fixing bug in starting tests without iOS devices attached, memory over-release