bug life cycle in testing