(5) Before making an order under subsection (1), the Court shall endeavour to obtain such information as to the family background, religion, general conduct, home surroundings, school records and medical history of the child as may enable it to deal with the case in the best interests of the child, may, for the purpose of obtaining such information or for any special medical examination or observa