Add JavaDoc to script related classes.
Tidy up script related test classes.
Populate response body when using files, but not scripts.