add tests and command