CLOUDSTACK-7519: Using bound/unbound methods instead of directly calling API methods from test case

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>