helper functions check for existance of wpdb, else show test data;