Effects of the substrate in the elastic response of a thin film in indentation tests