fixed beam validator; unit tests for beam validator
Merge branch 'master' of github.com:antler/caribou-core