Moved the "sid" variable up to the init section of the test and added a comment.