fix unit test base file to use teacherresource objects instead of ATFiles for resources.