Updated State Output

Created a test environment for returning data from a State which has
interpreted a script.