Adds testing document wrapper