ticket:5 fix test and view