still no idea how to write unit tests for flask