tests for management commands