use wildcard match for library version
added toMatchRegExp(regex) and toBeEmptyArray