Added tests for cast
Merge pull request #192 from hell0w0rd/tests-for-cast

Added tests for cast [TDD]