Added tests for charmbrowser dispatcher