in-state for each state & more unit test cases