Tests for prefix.