few testcase fixes

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>