Add test on exists and typeOf function.

Will fail for now since I did not implement function yet.