run flask as background process
added post test