foodcritic compliant. added minitests.