Removes unused update_title function
Adds a test for the published? function