fixed unit tests for running with requirejs
renamed testOut to testOutput