A doctor has shown parents how they can use an empty toilet roll to see if toys are safe for children.