add test for #52
improve javadoc
implement #52
ignore test if firefox is not installed.
add command line option.
Merge branch 'feature/#52'