add advanced tests

Signed-off-by: Hiroshi Miura <miurahr@linux.com>