Added test for /(a)|(b)/ issue