I think it really uses TEST_NAME and NAME is just used for the user account to get mysql access with. Having both change through the same variable is confusing and I don't think its needed. In this case I tried to get the python-27 test run in a seperate db, so set $1 to mkt-py-27 and that blew up on this variable:

 https://docs.djangoproject.com/en/1.6/ref/settings/#test-name

Those tests do seem to be running on ci-addons.allizom.org at the moment.