optimizing upgrade tests

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>