Added server and client tests, made class for easy server/client init