updated the make file and added the main to testclient