casper-love refinements #1
Fix bad memory access condition with port tester.