Processing state action, response and tests