Wrote tests for EntityIndex, also added an exceptions file. Edited the json-loading code to include the class 'from' the module (fromkeys=[class_name] in z_json) because it wasn't importing correctly.