fix: export function to the global object

Need to access the functions inside the test also it fix integration tests on travis
Merge pull request #2 from maksimr/patch-1

fix: export function to the global object