test for prefix