Added test for restful routes