Class TestHelper must extend TestModel instead TestHelper. First you can't extend class with the same name and at line 2 we require TestModel.php so I think it is natural to extend already existing class