On Sequential Testing, Information-Driven Learning And Representation