OnlineHistory better test coverege