Thesis testing fix