bugfix for pica_map to check for occurrence

* add check for occurrence to pica_map
* add test for occurrence to 03-fix.t