Added base test class for self testing