Fixed wrong test codes with the assertion.
Changed the behaviors of the following functions caused by argument types, to raise an error in the creation phase.
- Observable.defer
- Observable:buffer
- Observable:elementAt
- Observable:skipLast
- Observable:takeLast
- Observable:window