test(): add conditional tests to protect against browser differences