Fixes to moses test harness
Fix compiler warning, add copyright notice
Another moses test-harness fix