fix bug 777856 - CFX arguments for passing in prefs
add test for bug 777856