padding and gap test