unit test works on IA32

Signed-off-by: Hong Zhiguo <honkiko@gmail.com>