Add abstract class for type tests