corrected a path after directory restructure
reconnect and close before/after request
simple test for db connections