Make regex tests more thorough