properly checking for test flag if admin user/pass flags are used
Merge pull request #134 from shatterednirvana/fix-test-flag-use

Properly checking for test flag if admin user/pass flags are used