Learning from Failures - Methods for Improving Quality and Analysis in Test