Fixed warnings related to PushEnumerator
Fixed some warnings in test
Merge pull request #731 from nraychaudhuri/760_fix_warnings

760 fix warnings