Add tests around basic API responses