Move generate statement command tests to a place that won't confuse django