refactored addon start/stop and test adapter