Both sides rest in Josh Duggar child pornography trial