Updated node.d.ts
Fixed major bug in episodes logic
Added test for fixed cache results