extracted common superclass from all generated testcases.
changes:
- renamed abstract tests with A* prefix;
- updated mktestcase task to use new ATestBetaReducer.java.

Signed-off-by: Pepijn Kokke <pepijn.kokke@gmail.com>