. add interface tests for json and form