Implemented Message API in Server and Client Tests