Add googletest and set up some unit tests for the endpoint class and parser