Added test for this.dir
Added more information to example