Added tests for inconsistent uses of history, invalid state charts and unsupported types of deep history.