fixed shm parser recursion test