Add tests for comman type