Add tests for Pad and Varname.