Fixes #1135, experimental options via node api.

Add test case