Eliminate warnings in tests as reported in #1313
Merge pull request #1314 from szabgab/szabgab/issue-1313

Eliminate warnings in tests as reported in #1313