Test prefix parsing