Migrates shell script test case invocation to python unittests.
Fixes mysterious issue with param order=[] gets value ['_api_key.id'] when *not* provided as method parameter.