test case base class for module service layer testing.