timed testing and abstract logReg class