test(publishReplay): Add comprehensive tests for publishReplay
test(publishReplay): Add comprehensive tests for publishReplay

Resolves issue #656.

mattpodwysocki/RxJS,staltz/RxJSNext,jinroh/RxJS,adrianomelo/RxJS-1,trxcllnt/RxJS,jayphelps/rxjs,RxJS-CN/RxJS-Docs-CN,figueredo/RxJS,jayphelps/rxjs,saneyuki/RxJS,kwonoj/RxJS,jadbox/RxJS,figueredo/RxJS,Brocco/RxJS,ReactiveX/rxjs,trxcllnt/RxJS,jinroh/RxJS,staltz/RxJSNext,Igorbek/rxjs5,IgorMinar/RxJS,martinsik/rxjs,trxcllnt/RxJS,Igorbek/rxjs5,martinsik/rxjs,Brocco/RxJS,mattpodwysocki/RxJS,jadbox/RxJS,gluck/RxJS,robwormald/RxJS,jayphelps/rxjs,IgorMinar/RxJS,jayphelps/rxjs,mattpodwysocki/RxJS,figueredo/RxJS,jadbox/RxJS,elliotschi/rxjs,elliotschi/rxjs,Brocco/RxJS,kwonoj/RxJS,elliotschi/rxjs,kwonoj/RxJS,adrianomelo/RxJSNext,staltz/RxJSNext,robwormald/RxJS,justinwoo/RxJS,SangKa/RxJS-Docs-CN,benlesh/RxJS,RxJS-CN/RxJS-Docs-CN,benlesh/RxJS,adrianomelo/RxJSNext,SangKa/RxJS-Docs-CN,justinwoo/RxJS,SangKa/RxJS-Docs-CN,gluck/RxJS,martinsik/rxjs,Igorbek/rxjs5,jadbox/RxJS,ReactiveX/RxJS,SangKa/RxJS-Docs-CN,ReactiveX/rxjs,gluck/RxJS,elliotschi/rxjs,adrianomelo/RxJS-1,adrianomelo/RxJS-1,benlesh/RxJS,martinsik/rxjs,kwonoj/RxJS,adrianomelo/RxJS-1,jayphelps/rxjs,RxJS-CN/RxJS-Docs-CN,jinroh/RxJS,mattpodwysocki/RxJS,adrianomelo/RxJSNext,benlesh/RxJS,Brocco/RxJS,ReactiveX/RxJS,ReactiveX/RxJS,ReactiveX/rxjs,ReactiveX/rxjs,robwormald/RxJS,trxcllnt/RxJS,ReactiveX/RxJS,justinwoo/RxJS,Igorbek/rxjs5,gluck/RxJS,adrianomelo/RxJSNext,jinroh/RxJS,robwormald/RxJS,staltz/RxJSNext,saneyuki/RxJS,justinwoo/RxJS,figueredo/RxJS,RxJS-CN/RxJS-Docs-CN