Replace deprecated stub call with double
Merge pull request #96 from andymorris/double_instead_of_stub

Replace deprecated stub call with double