fix syntax typos
update package.json and add livedb tests