Round up beam.py. Prepare test case for beam generation.