Joshlin Smith trial: Social worker testifies about family's troubling history