Added unit tests using nodeunit.