Test code for aws swf and glisten