Add RSpec helper and global reset method to reset all internal state
Release 0.27.0