use correct variable for test mode verification
new version