Fix behaviorLookup error test
Merge pull request #1815 from thejameskyle/fix-build

Fix Build
Unwrap behaviorEvents and behaviorTriggers
Fail tests if the api cannot build