Python Testing With Dependencies Db