Added add item to history function and test code as well as fixed small mistakes in posts.