Fixed connection issue in dbacess.js + added some more convenience fcts.
Added Test and Code Coverage