updated stub method calls to double in spec files
to remove deprecation warnings