Added tests and bugfixes for Observable.window and groupjoin