Fixed testing of user setting constants.
Merge pull request #7 from fohlin/master

Fix testing of user setting constants (thanks, @fohlin!)