Wrote lightweight tests for populator, changed save policy to update the database whenever the representative python object is modifed