updated tests & Real for more pattern and set matching