Fix tests for regexp deepEqual