Added match() test helper (#8)

Part of the code to add to.match() test helper