ticket:9 added test for management command