Added test for client main.