Initial unittest for pybeam.beam_construct
pybeam.beam_construct: handle empty BEAMs (GreedyRange -> OptionalGreedyRange)