adding test data and json loading.