Refactored tests
Moved action rule tests in to individual files