Added Automated testing rule

It is good practice to have some kind of simple automatic testing.