Moar type checking.

If stat and its surrogates now works.
Fixed also the tester file.
☆*:.｡. o(≧▽≦)o .｡.:*☆
Return stat done.

(゜-゜)