Test DB Connection and JSON data parsing