Added test for null padding