Acceptance tests: These test-suites demonstrate/exercise the functionality of Selenium.
Unit-tests: Use JsUnit to test Selenium internals.