added a utility class for tests.
add a test program used for the test of ActionManager mechanism.
added a part of test for ActionManager.