Fix coffeescript directive test

'element text()' throws "ReferenceError: text is not defined" error.
Merge pull request #129 from sammla/patch-1

Fix coffeescript directive test