Some simple and proposed tests for the ScriptDB object. These pass OK 

with ./manage.py test, at least after running the server once.