fix the inheritance in form test