Fix exception unit test
Tests for #pad*() methods