Adjusting API tests

IN-391