Testing the swagger and grape api for rails