removed options requirement from each/onError/onFinish and separated
optstreamextensions and testsin different classes