added regex tests