Added spec to test calling configure method with hash.