Improvements to SoftwareSwitch, syn_mem_test