Adding some tests to the joke model.