Testing the thor library