Added test for major api functions, add make test command to makefile, and made a change in the format of the data sent to a deletehost call