Added basic support for checking multiple element/value pairs