Add SECRET_KEY to test settings, add string format positions