Test the api by implementing some interfaces