(fix) #5 Fix some issues with mnesia db in testing