Test cases for Issue #193.
Check if value of option is set to solve #193.
Merge pull request #196 from chrtho/master

Fix for Issue #193.