Changed verification of whether a blogpost is edited or not to the model, and also added some nice tests to verify that it works correctly.