Tests for command module