Added extra return element from execute method
Added function to return attribute update
Test results

1) get status from execution of test case
2) put results into 3 element tuple
3) get xml based on result tuples