Added and fixed tests from the inspector state changes