Add deepEqual tests for regexp flags