Document testing functions.