Add watch option to test script.
Add our to export variable to fix strict pragma problem.
Fix lib path.
Working with references.