clean up padding detection and some test names