BUG: Fixed warnings failure on test when run together
Merge pull request #864 from cpelley/fix_warnings

BUG: Fixed warnings failure on test when run together