Fix some railties test warnings
Merge pull request #10078 from vipulnsward/railties_warning_fix_v1

Fix some railties test warnings