Add missing 'use strict' to getTestDocument