Unit testing the news admin functions