add some x86 unit-tests

Add some x86 unit-tests