simple REST unit test