Add state test