Fix database config path and disable active record logging for test environment