add test for the new bswap primops

Patch from Vincent Hanquez.
Fix cgrun072