[TESTS] Added a base class for identifier and singleton TestCases.