fixes Kernel class method was not stubbed

http://stackoverflow.com/questions/1168845/rspec-stubbing-kernelsleep