Introduced tests for state history policies.
Added nesting levels for composite states and inner states.

Signed-off-by: makulik <g-makulik@t-online.de>