test for modet