Functional testing of REST interfaces