test and refacroring hotel and comment controller