Let browser param be passed in , in construction, also delete method added.

Also added some test coverage for these changes and added test dependencies in Makefile.PL