Fixed and extended TS test for abstract class tests (T04)