Tests for command