Updated tests and JSONDrive init

JSONDrive now creates the flat file if it doesn't exist.