How do I actually write a testcase for a 16-bit API ?