contact margin test