Work on api functional testing