Fixed internal citations
Added tests, configured to use database-less Django tests