add tests for use command