Added testcases for stateRules and stateBrowser