Added refactoring on last action and its test
Merge pull request #30 from MarconiVini/master

Added refactoring on last action and its test