Move test to restful-test module