Infrastructure for testing was prepared by using rhinounit-1.2.1 (http://code.google.com/p/rhinounit/), but it needed custom ant task to run, then JScriptExecutor was made.
Dependency on ant was resolved through Ivy.