Add cast tests
Merge pull request #819 from querydsl/i817

Add cast tests