Added invalid history model test