add test script and make Actions subclass Action