Add test suite for DygraphOptions object. Fix broken method in it.