Test code for the "The Flask Mega-Tutorial"