Added Date Validation
added spec for rendering right templates depending on passed in  params