test added for beampkg, Dmitry's notes are considered