make tests build databases on the fly (#195)