removed deprecation warning for mock vs double
Merge pull request #4 from gouravtiwari/master

removed deprecation warning for mock vs double