added test state transition
implemented test state inheritance
implemented inherited state