test for bewd