Code written for Udacity's software testing course