fixed tests
added new custom state for instances