renamed function, load to loadGlob
added database tests