Issue 17: update test generation, support amd/require syntax for jasmine