Fixed test details json and made the jsx more generic.