created a new test pattern that's slimmer, more intelligible, less repetitious.
updated array tests
added regexp check