Update margin tests to have better explanations
Correct errors in padding tests, make them more robust, and add better explanations