Add fortune test for flask - with and without ORM and use random partial...

... for database query test