Life testing and reliability estimation for non-homogeneous data - a bayesian approach