Fixed Bug in wrong testdetection