Tested calling functions defined in java, declaring types in drools and dsl