Fix for not capturing the returned padded string

This will resolve the test failure when the (x,y) values weren't 64 hex digits.