added arming unit tests