Test for customOptions, fixes #11