Add test file.

Signed-off-by: Huei-Horng Yo <hiroshiyui@gmail.com>