#109 - 108 , Added Test cases. Reverted [ToInteger] to Previous commit ...

...version

Reverted [ToInteger] to Previous commit. Added 2 test cases  raised by @yaffle #109 and #108