Adds more tests and fixes error found in JiraDefectTracker.java