added three input streams test