fixed test for state path