test/py: dfu: allow boardenv to specify test sizes