Test history api