OOP PHP test problem