Adds tests for behavior init function.
Makes Behavior init function test pass, Also:

- Covers the case that init function is undefined.
Merge pull request #4 from bernardocorbella/issue-2

[ Fix #2 ] - Behavior initialization