update test and CLI