add spec test for driver

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