Use iteritems() to iterate over key and value
Add a test for new runtime_parameters functionality