Added test cases and implemented it

Added test cases for adding, updating and getting a news item