Added methods sub module and rspec tests for methods recored event