add test if post data is valid, new view is rendered