Unit tests for PHP map access