Test unit generator script