Refine 8051 tests