client.tests: small fix for cpuflags

fixs:
    1. fix module import error
    2. correct src dir

Signed-off-by: Xu Tian <xutian@redhat.com>