changes to fix tests for brjs - we need to look at the tests that fail in emitter as a result of these changes