Tests for django secret key generation