added state test