add view and data response tests