Testing the Rhino JavasScript shell