Updated test class and added defects model
Added workflow for defects tracking.. Need to test