Got unit test working for state inactivated