flask / python testing task