I didn't try, but is there a reason you are not using call_command like other tests do?