Test restful
app_spec test is not working properly code line 117