Making tests run when class is called.