change tests to get database in the new way.