Added unit testing for server-side utils.