asm/sim: testcases for special ops