Added tests/API case