Unit tests for payload alignment. Also, typo correction.