clean up tests
add rs485 mode