get testmode in the correct way
bump to version 4.0.6
Merge branch 'hotfix/4.0.6'