added mockito dep
improved ActionTest.testPerformAllowedAction and removed side-effecty things
removed side-effecty ActionTest.used
got rid of duplicated string literal
Merge pull request #59 from janosgyerik/improved-actiontest

Improved actiontest, using Mockito. Thanks @janosgyerik