history api test