Fix the compiler warnings in the contrail agent test cases

Change-Id: I86cc75f311f06e9c375ca0d7c613723e3c87aa9c
Closes-bug: #1400267
Merge "Fix the compiler warnings in the contrail agent test cases" into R1.10