added test for the browser and for the command-line